APT-GET REINSTALL -UBUNTU

I was wondering if I could reinstall a package i have remove without the internet. Technically if u have installed it before then it should be in the repository.

so i did

sudo apt-get install –no-download “this is where u put the packages u want to reinstall”

this will install without downloading from the net. If its not working then synaptic have removed those packages perhaps over 30 days in the repo.

checking what you have in the downloaded repo.

cd /var/cache/apt/archives/

here u can check which packages exist.

Leave a Reply