LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   install software in linux (https://www.linuxquestions.org/questions/linux-software-2/install-software-in-linux-4175414970/)

Arjun 07-05-2012 12:19 AM

install software in linux
 
Hello friends

Currently i am using Backtrack 5 r2 from my USB.

After downloading and installing vlc by this command

apt-get install vlc

when i shutdown my computer and again boots it, then vlc gets removed. Again i download it & installs it.

Is there any way to keep vlc software in the computer and every time i could just install it without downloading.

Thanks

evo2 07-05-2012 12:28 AM

Hi,

yes install a linux distro on your machine, instead of running a live system from a usb stick.

Evo2.

Arjun 07-05-2012 12:36 AM

this is not the solution bro.

I cannot do so. So i was asking for the solution

evo2 07-05-2012 12:50 AM

Hi,

ok, so you want to run a "persistent" not "live" system from a usb stick. With that keyword you should be able to find what you need with a search. For example:

http://duckduckgo.com/?q=persistent+usb+linux

Cheers,

Evo2.

Arjun 07-05-2012 01:13 AM

Nope bro

I just want to install vlc without downloading like we do in windows

evo2 07-05-2012 01:31 AM

Hi,

sorry, I have no idea how "we do in windows". I also didn't know that windows would run from a USB stick.

Are you sure you don't want a persistent USB stick install? Where exactly do you want vlc installed to if not the USBstick? Did you read any of the links? For example, I think that the following describes what you want:
http://www.backtrack-linux.org/wiki/...Persistent_USB

Evo2.

everest40 07-05-2012 05:34 AM

I think what Arjun is asking about is a way to download the vlc package, store it somewhere else besides the usb stick, and then use that package to install vlc every time. Right?

I think the solution would be the apt-zip. You'll have to install it once with
Code:

apt-get install apt-zip
You'll need to run apt-zip-list once. It produces two files. The command line options below will put the two files on your desktop (replace username with your username. See the man page for a summary of what these options do):
Code:

apt-zip-list -p vlc --medium=/home/username/Desktop -s
One of the files it produces will be a script. Run the script; it will download vlc and anything needed by vlc. On my computer, running Linux Mint Debian Edition (so I might not have the same version of apt-zip as you), the script put all the downloaded files in a folder called partial. You'll need to keep all of these files, so put them on your hard drive or a second USB stick or something.

Now for the part you'll need to do every time you install vlc:
Open a terminal and cd to wherever you keep the downloaded files, then run
Code:

dpkg -i ./*.deb
This will install all .deb packages in that folder including VLC.

RockDoctor 07-05-2012 08:22 AM

The way I read the initial post, what's needed is either a persistent system or a full-blown installation on the usb stick. The reason vlc disappears every time you boot is because the down and install are all in RAM.

Arjun 07-06-2012 02:19 AM

Quote:

Originally Posted by everest40 (Post 4719785)
I think what Arjun is asking about is a way to download the vlc package, store it somewhere else besides the usb stick, and then use that package to install vlc every time. Right?

I think the solution would be the apt-zip. You'll have to install it once with
Code:

apt-get install apt-zip
You'll need to run apt-zip-list once. It produces two files. The command line options below will put the two files on your desktop (replace username with your username. See the man page for a summary of what these options do):
Code:

apt-zip-list -p vlc --medium=/home/username/Desktop -s
One of the files it produces will be a script. Run the script; it will download vlc and anything needed by vlc. On my computer, running Linux Mint Debian Edition (so I might not have the same version of apt-zip as you), the script put all the downloaded files in a folder called partial. You'll need to keep all of these files, so put them on your hard drive or a second USB stick or something.

Now for the part you'll need to do every time you install vlc:
Open a terminal and cd to wherever you keep the downloaded files, then run
Code:

dpkg -i ./*.deb
This will install all .deb packages in that folder including VLC.

Thanks everest40

Got vlc package in my hard disk.

Working fine...

Thanks again........


All times are GMT -5. The time now is 05:49 AM.