LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-21-2010, 10:45 AM   #1
adetheheat
Member
 
Registered: Jun 2010
Posts: 49

Rep: Reputation: 0
install software from a memory stick or a cd


I'm trying to install .iso software from a cd with /mnt/cdrom/install and get
cp:reading '......tgz':input/output error
several dozen times before it bombs out, so was thinking maybe the disc is knackered.

So I was going to try installing from a memory stick. I've copied the iso file onto the stick and I've also copied the unpacked files from iso onto the disc.

How do I go about running it ?
When I plug in the stick a konqueror window opens, I click on the install file and it just opens an edit window for the install file.
Debian linux.
I'm finding everything on linux so hard.
 
Old 09-21-2010, 10:51 AM   #2
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Commonly in Linux these install files are shell scripts that need to be run by the root user of the system in order to install the software. If memory serves (and I'm sure someone will correct me if I'm mistaken) Debian still uses the root account and does not default to sudo. What you'll want to do is open a terminal (I prefer konsole but whichever you can find is fine) and then issue this sequence of commands:

Code:
su -
# Enter your password
cd /mnt/cdrom
# Or /mnt/usb where ever the install file is located
sh install
If any errors occur please post the following information:

* What software you're trying to install
* The output of `ls -l` on the directory
* The output of `sh install`

Regards,

Alunduil
 
Old 09-21-2010, 11:17 AM   #3
adetheheat
Member
 
Registered: Jun 2010
Posts: 49

Original Poster
Rep: Reputation: 0
the file is on the usb stick.
if I do
/mnt/usb
I get mnt/usb no such file or directory
 
Old 09-21-2010, 11:34 AM   #4
alunduil
Member
 
Registered: Feb 2005
Location: San Antonio, TX
Distribution: Gentoo
Posts: 684

Rep: Reputation: 62
Sorry, I should have been more clear. With those paths you need to cd to the location that has your install file. I don't know where your system mounted it but you can check by running `mount`.

Regards,

Alunduil
 
Old 09-21-2010, 11:39 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
There are no directories in /mnt/ . Unless you create one.
And none are required for this. Please look in /media/ instead.

'cd /media/<TAB>' : Will show, what's available.

Debian :
When I plug in a random usb-stick and do 'cd /media/<TAB>', it shows:
4886-1371/ cdrom/ cdrom0/ cdrom1/ floppy/ floppy0/ .

→ 4886-1371/ is the USB-stick.

.....
 
Old 09-21-2010, 11:46 AM   #6
adetheheat
Member
 
Registered: Jun 2010
Posts: 49

Original Poster
Rep: Reputation: 0
cd /media/<TAB> gives me:
cdrom, cdrom0, disk, floppy, floppy0


mount gives me:
/dev/hdal
tmpfs
proc
sysfs
procbususb
udev
devpts
/dev/hdc
/media/cdrom0
/dev/sdal
 
Old 09-21-2010, 12:10 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,393

Rep: Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607Reputation: 3607
Well then. Please try : ls /media/disk/

.. to possibly get a list of the files, that are on the usb-stick.

..
 
Old 09-21-2010, 12:16 PM   #8
adetheheat
Member
 
Registered: Jun 2010
Posts: 49

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by knudfl View Post
Well then. Please try : ls /media/disk/

.. to possibly get a list of the files, that are on the usb-stick.

..
ok, getting somewhere now.
Ok its now working.
Thanks for your help.
I'll keep the thread open while I do this big install
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software for bootable memory stick mechanicaldesign Red Hat 1 04-19-2010 08:57 AM
Install and boot from usb memory stick Owenbeg Linux - Newbie 2 11-11-2009 06:47 AM
New to Linux and trying to install on a memory stick jay s Linux - Newbie 1 02-12-2009 12:41 AM
How-to install Mandrake 10 from USB memory stick via network hpa Mandriva 0 09-03-2004 09:32 AM
Slack 10 Install Success - Sony Camera/Memory Stick Help tubatodd Slackware 28 07-10-2004 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration