Editing Back up your applications

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 11: Line 11:
To follow this tutorial, you need root access on your device and the following tools:
To follow this tutorial, you need root access on your device and the following tools:
*Terminal emulator (X Terminal or SSH)
*Terminal emulator (X Terminal or SSH)
-
*VIM editor (Available in [[Extras]])
+
*VIM editor (Available in Extras)
== Create the Archive folder ==
== Create the Archive folder ==
Line 19: Line 19:
$ mkdir /home/user/MyDocs/apt-archive-cache/archives
$ mkdir /home/user/MyDocs/apt-archive-cache/archives
$ mkdir /home/user/MyDocs/apt-archive-cache/archives/partial
$ mkdir /home/user/MyDocs/apt-archive-cache/archives/partial
-
</pre>
 
-
or the equivalent
 
-
<pre>
 
-
$ mkdir -p /home/user/MyDocs/apt-archive-cache/archives/partial
 
</pre>
</pre>
If you wish to use a different folder, substitute /home/user/MyDocs with the desired path.
If you wish to use a different folder, substitute /home/user/MyDocs with the desired path.
Line 29: Line 25:
*As a normal user type the following command to create a file (package.list) that contains a list of all the packages installed on the device:
*As a normal user type the following command to create a file (package.list) that contains a list of all the packages installed on the device:
-
<pre>$ dpkg --get-selections|grep install|grep -v deinstall>/home/user/package.list
+
:<pre>$ dpkg --get-selections|grep install|grep -v deinstall>/home/user/package.list
</pre>
</pre>
Line 36: Line 32:
For example, if you just want to download a copy of the package ''abiword'', then you should:
For example, if you just want to download a copy of the package ''abiword'', then you should:
*As a normal user type the following command:
*As a normal user type the following command:
-
<pre>$ cat /home/user/package.list|grep abiword>/home/user/package-abiword.list</pre>
+
<pre>$ cat /home/user/package.list|grep abiword>package-abiword.list</pre>
If you want to download all packages, except one of them: ''debconf'', for example. Then you should:
If you want to download all packages, except one of them: ''debconf'', for example. Then you should:
*As a normal user type the following command:
*As a normal user type the following command:
-
<pre>$ cat /home/user/package.list|grep -v debconf>/home/user/package-without-debconf.list</pre>
+
<pre>$ cat /home/user/package.list|grep -v debconf>package-without-debconf.list</pre>
== Edit Package-List ==
== Edit Package-List ==
Line 89: Line 85:
== Install Package-List ==
== Install Package-List ==
-
With previous steps you have downloaded all your favourite applications, for backup purposes. Now just imagine that you need to install them again from scratch, then you will need to proceed as follows:
 
-
 
To install all the packages from the list:
To install all the packages from the list:
* open the package.list file in VIM
* open the package.list file in VIM
Line 118: Line 112:
If you have further questions, do not hesitate to place the question here in this section, and it will be answered in short.
If you have further questions, do not hesitate to place the question here in this section, and it will be answered in short.
-
 
-
You may also ask for help sending me an [mailto:n900@academia-online.org e-mail]
 
-
 
-
[[Category:Power users]]
 
-
[[Category:HowTo]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)