LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2010, 02:04 AM   #1
alf at lunix
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
Question Installing software to Knoppix 6.1 from a DVD or CD rom


I have installed Knoppix 6.1 on a memory stick and run it on my laptop. Everything works well, Internet, e-mail and so on.

I have a DVD with Linux program on and I been trying to install them but no success. (No .exe files here).

It appears the program on the DVD comes in different formats ( different file extensions).

Can someone tell me how to install programs on Knoppix 6.1 .

Cheers and thanks.
 
Old 08-07-2010, 02:16 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
knoppix is a debian base linux. There is .deb package file and you can install through dpkg command.

Code:
dpkg -i .debfile
or you can install package from repository through apt-get command

dpkg

HTH
 
1 members found this post helpful.
Old 08-07-2010, 02:42 PM   #3
alf at lunix
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Tanks for your help.

Not sure if I do it correct, however it ask me for a "superuser privilege". As this version I have installed on a memory stick there are no password involved.

Also another question is, how do I get this command to point towards the the DVD and the file I want to open?

Iwas typing your command in a konsole and got this message:

knoppix@Microknoppix:~$ dpkg -i .debfile
dpkg: requested operation requires superuser privilege
knoppix@Microknoppix:~$

This was possibly not correct and I was trying this (filename)?.

knoppix@Microknoppix:~$ dpkg -i .softmaker-office-2010_i386.deb
dpkg: requested operation requires superuser privilege
knoppix@Microknoppix:~$

This did not work either.


Cheers

Last edited by alf at lunix; 08-07-2010 at 02:54 PM.
 
Old 08-07-2010, 08:17 PM   #4
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 276

Rep: Reputation: 51
At the command prompt in konsole or terminal type in "su" enter it will prompt you for a password enter it then enter, now you are the super user.
 
1 members found this post helpful.
Old 08-09-2010, 04:25 AM   #5
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
knoppix@Microknoppix:~$ dpkg -i .softmaker-office-2010_i386.deb
dpkg: requested operation requires superuser privilege
use sudo command to gain root privilege and don't use . before filename.

Code:
sudo -i your_package.deb
 
1 members found this post helpful.
Old 08-10-2010, 02:44 PM   #6
alf at lunix
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your help, however it will not work. The DVD/CD ROM is "Mounted", this through a file manager as I don't know how to do it through a console. I been trying different approach and here is what comes up of them. On some places there comes up “? marks”. I don’t know how they come there either.
1

knoppix@Microknoppix:~$ dpkg -i .softmaker-office-2010_i386.deb
dpkg: requested operation requires superuser privilege
knoppix@Microknoppix:~$ su
root@Microknoppix:/home/knoppix# dpkg -i softmaker-office-2010_i386.deb
dpkg: error processing softmaker-office-2010_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
softmaker-office-2010_i386.deb
root@Microknoppix:/home/knoppix#
2
knoppix@Microknoppix:~$ dpkg? ?-i? ?.softmaker-office-2010?_?i386.deb
bash: dpkg?: command not found
knoppix@Microknoppix:~$ su
root@Microknoppix:/home/knoppix# dpkg? ?-i? ?.softmaker-office-2010?_?i386.deb
bash: dpkg?: command not found
root@Microknoppix:/home/knoppix#
3
knoppix@Microknoppix:~$ sudo? ?-i.softmaker-office-2010_i386.deb
bash: sudo?: command not found
knoppix@Microknoppix:~$

4
noppix@Microknoppix:~$ su
root@Microknoppix:/home/knoppix# sudo -i.softmaker-office-2010_i386.deb
sudo: please use single character options
usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
{-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...
root@Microknoppix:/home/knoppix#
5
knoppix@Microknoppix:~$ dpkg -i
dpkg: requested operation requires superuser privilege
knoppix@Microknoppix:~$ su
root@Microknoppix:/home/knoppix# dpkg -i
dpkg: --install needs at least one package archive file argument

Type dpkg --help for help about installing and deinstalling packages[*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL)[*].

Options marked[*] produce a lot of output - pipe it through `less' or `more' !
root@Microknoppix:/home/knoppix# dpkg -i .softmaker-office-2010_i386.deb
dpkg: error processing .softmaker-office-2010_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
.softmaker-office-2010_i386.deb
root@Microknoppix:/home/knoppix#
 
  


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
Installing RHEL off non-boot DVD using external DVD ROM yunus.raza Red Hat 2 12-30-2009 11:00 PM
External Optical DVD Rom drive to install recovery software. sijohns Linux - Laptop and Netbook 4 09-02-2009 08:04 PM
Installing dvd-rom on old laptop marios_auth Linux - Hardware 1 04-01-2007 07:04 AM
Installing a dvd-rom on a Mandriva 10.1 computer Clived Mandriva 13 02-02-2006 09:51 PM
installing a new DVD ROM pilot258 Linux - Hardware 1 08-11-2005 02:20 AM


All times are GMT -5. The time now is 08:22 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration