LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing software to Knoppix 6.1 from a DVD or CD rom (https://www.linuxquestions.org/questions/linux-newbie-8/installing-software-to-knoppix-6-1-from-a-dvd-or-cd-rom-824717/)

alf at lunix 08-07-2010 01:04 AM

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.

sem007 08-07-2010 01:16 AM

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

alf at lunix 08-07-2010 01:42 PM

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

zrdc28 08-07-2010 07:17 PM

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.

sem007 08-09-2010 03:25 AM

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

alf at lunix 08-10-2010 01:44 PM

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#


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