Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Friday, April 11, 2014

How to backup your ubuntu apps


Open a terminal and paste the following into it:

Code:
$ sudo apt-get install dpkg-repack fakeroot
$ mkdir ~/dpkg-repack; cd ~/dpkg-repack
$ fakeroot -u dpkg-repack `dpkg --get-selections | grep install | cut -f1`
(the last command will take some time)

Now if you scroll to your home folder, you should find a folder called "dpkg-repack" which should have all the deb files of all your installed packages.


RE-INSTALL

If you want to re-install the packages, navigate to the folder with the packages and input the following command in the terminal:
Code:
sudo dpkg -i *.deb
Alhamdhulillah and Thanks: http://ubuntuforums.org/showthread.php?t=819396


Wednesday, June 20, 2012

How I re-installed network manager in ubuntu offline

I've got an error when I tried to install network-manager from ubuntu liveCD, So I downloaded the package network-manager-gnome package to another computer and installed to mine. After that I used liveCD to install the network-manager package.
  • sudo apt-cdrom add
     
  • gksudo gedit /etc/apt/sources.list
     
    Uncomment the line
    # deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
    by removing # symbol
     
  • sudo apt-get install network-manager