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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s