Skip to content
Permalink
Browse files

change apt-get to apt

  • Loading branch information
cire831 committed Jun 1, 2019
1 parent 44dc920 commit d8e726278149770bb79c07f6279607b83f879d76
@@ -100,9 +100,9 @@ repository (see doc/00c_Setting_Up_Debian_Development). See the repository
Readme at http://tinyprod.net/repos/debian/README.html).

sudo -s
apt-get update
apt-get purge tinyos-tools # remove earlier incompatible version
apt-get install tinyos-tools-devel
apt update
apt purge tinyos-tools # remove earlier incompatible version
apt install tinyos-tools-devel


Alternatively, one can build the tools manually:
@@ -44,7 +44,7 @@ Put the iso on to a bootable media (dvd or usb stick). You can also use grub lo
for installation on an exiting Linux installation. (How to do this is beyond the scope
of this document). A simple install is fine and will take less time.

When the install is complete, boot the system, and use "apt-get" to install the following
When the install is complete, boot the system, and use "apt(8)" to install the following
packages:

build-essential stow automake autoconf libtool libc6-dev
@@ -56,10 +56,10 @@ packages:
The following will do the trick:

sudo -s
apt-get install build-essential stow automake autoconf libtool libc6-dev
apt-get install git-core git-daemon-run git-doc git-email git-gui gitk gitmagic
apt-get install openssh-client openssh-server graphviz
apt-get install python3 python3-serial python python-serial
apt install build-essential stow automake autoconf libtool libc6-dev
apt install git-core git-daemon-run git-doc git-email git-gui gitk gitmagic
apt install openssh-client openssh-server graphviz
apt install python3 python3-serial python python-serial
exit


@@ -84,17 +84,17 @@ TinyProd.Net as of (May 29, 2019) is more up to date.


#
# teach dpkg/apt-get/aptitude about where to find the tinyprod toolchain repository
# teach dpkg/apt/aptitude about where to find the tinyprod toolchain repository
#
sudo -s
echo "deb http://tinyprod.net/repos/debian stretch main" >> /etc/apt/sources.list.d/tinyprod-debian.list
apt-get update
apt update
exit


2b) basic tool installation

sudo apt-get install nesc tinyos-tools-devel
sudo apt install nesc tinyos-tools-devel


2b) TI msp430 toolchain install.
@@ -122,8 +122,8 @@ We want the following packages:

sudo -s
echo "deb http://tinyprod.net/repos/debian msp430-46 main" >> /etc/apt/sources.list.d/tinyprod-debian.list
apt-get update
apt-get install nesc tinyos-tools-devel msp430-46 mspdebug
apt update
apt install nesc tinyos-tools-devel msp430-46 mspdebug
exit


@@ -147,7 +147,7 @@ We want the following packages:

2d) Install 32 bit libraries for the ARM toolchain

apt-get install -qy -V libc6:i386 libx11-6:i386 libasound2:i386 \
apt install -qy -V libc6:i386 libx11-6:i386 libasound2:i386 \
libatk1.0-0:i386 libcairo2:i386 libcups2:i386 libdbus-glib-1-2:i386 \
libgconf-2-4:i386 libgdk-pixbuf2.0-0:i386 libgtk-3-0:i386 \
libice6:i386 libncurses5:i386 libsm6:i386 liborbit2:i386 \
@@ -67,7 +67,7 @@ Debian
The Docutils are packaged in the python-docutils DEB package and can
be installed using:

sudo apt-get install python-docutils
sudo apt install python-docutils

Alternatively, the Docutils DEB package can be download (for Debian
stable) from::
@@ -66,8 +66,8 @@

<pre>
$ sudo
$ apt-get purge tinyos-tools
$ apt-get install tinyos-tools-devel
$ apt purge tinyos-tools
$ apt install tinyos-tools-devel
</pre>

<br>
@@ -78,7 +78,7 @@

<pre>
$ sudo dpkg -P `dpkg -l nesc '*tinyos*' | grep ^ii | awk '{ print $2 }' | xargs`
$ sudo apt-get clean
$ sudo apt clean
</pre>

</ul>
@@ -111,8 +111,8 @@

<li>Install the new packages:
<pre>
$ sudo apt-get update
$ sudo apt-get install nesc tinyos-tools-devel msp430-46 avr-tinyos
$ sudo apt update
$ sudo apt install nesc tinyos-tools-devel msp430-46 avr-tinyos

</pre>

@@ -121,7 +121,7 @@
<p>If you want to uninstall the packages you can do it like this:</p>

<pre>
$ sudo apt-get autoremove --purge nesc tinyos-tools-devel msp430-46 avr-tinyos
$ sudo apt autoremove --purge nesc tinyos-tools-devel msp430-46 avr-tinyos
</pre>

<br><br>
@@ -60,16 +60,16 @@

<li>Install the new packages:
<pre>
$ sudo apt-get update
$ sudo apt-get install msp430-46 nesc tinyos-tools-devel
$ sudo apt update
$ sudo apt install msp430-46 nesc tinyos-tools-devel
</pre>

</ol>

<p>If you want to uninstall the packages you can do it like this:</p>

<pre>
$ sudo apt-get autoremove --purge msp430-46 nesc tinyos-tools-devel
$ sudo apt autoremove --purge msp430-46 nesc tinyos-tools-devel
</pre>

<b>Note:</b>
@@ -44,16 +44,16 @@

<li>Install the new packages:
<pre>
$ sudo apt-get update
$ sudo apt-get install msp430-47 tinyos-tools-devel nesc
$ sudo apt update
$ sudo apt install msp430-47 tinyos-tools-devel nesc
</pre>

</ol>

<p>If you want to uninstall the packages you can do it like this:</p>

<pre>
$ sudo apt-get autoremove --purge msp430-47 tinyos-tools-devel nesc
$ sudo apt autoremove --purge msp430-47 tinyos-tools-devel nesc
</pre>

<b>Note:</b>

0 comments on commit d8e7262

Please sign in to comment.
You can’t perform that action at this time.