Page 1 of 1

Need to install Apt package

Posted: 20 Jan 2019, 04:10
by commanderklag
Porteus 4.0 seems to be everything I've dreamed of in a linux distro for, except ...

I need to install some common linux software, for example vim, and gcc.

I normally would do this ...
$ sudo apt-get install vim

However, it's not available.
QUESTION:

How do I install a software package on Proteus MATE 4.0 ?

Thanks,

Re: Need to install Apt package

Posted: 20 Jan 2019, 05:26
by ncmprhnsbl
welcome to porteus :)
apt-get is a debian command, porteus is based on slackware.
porteus has it's own package manager: usm (also with a gui in the System menu)
so, if you prefer the commandline: (as root(su) or sudo)
update the databases:

Code: Select all

usm -u all
search for a package:

Code: Select all

usm -s vim
download a package:

Code: Select all

usm -g vim
for more:

Code: Select all

usm -h

Re: Need to install Apt package

Posted: 20 Jan 2019, 20:06
by commanderklag
Thanks for the help,
Are there any validated procedures, in the correct execution sequence for installing gcc and or g++ ?
I need to install gcc/g++. Understand an in-accurate attempt can destroy the Proteus install.

I've tried using usm, install, installpkg etc.

The issue is the headers are not placed in the correct location after doing a
usm -s gcc, and then downloading and installing gcc-5.3.0-x86_64-3.txz. Some headers seem to be missing as well.
I need to be able to compile my research programs for school.

Thanks again,

Re: Need to install Apt package

Posted: 20 Jan 2019, 20:37
by ncmprhnsbl
ok, what you need is the development module(005-devel.xzm) from here: http://dl.porteus.org/x86_64/current/ke ... -devel.xzm (if you are on 64 bit?)
it contains gcc/gcc-g++, all the headers, and other compilation tools.
place it in /mnt/<install media>/porteus/optional and activate it when you need to (click it in the filemanager)

btw, it's almost impossible to destroy porteus, but you can mess up your changes dir/file..

Re: Need to install Apt package

Posted: 21 Jan 2019, 18:12
by commanderklag
Excellent ! Thank you,

I'm really impressed with the Proteus 4.0 distribution, It's very fast, lightweight, yet I can add the software I need.

So far, this seems to be the best Linux distribution I've tried. And I've tried a bunch ! I think it's gonna save me allot of work !

Good job ! and thanks again.

-Commanderklag
:Yahoo!:

Re: Need to install Apt package

Posted: 21 Jan 2019, 23:41
by francois
Ah! At last a refined user. A connaisseur.

Welcome to porteus community. :)