Page 1 of 1

User not allowed sudo access

Posted: 27 Jul 2020, 06:02
by Jovian
Hello
I'm a complete beginner to linux and chose porteus as my first distro. I was trying to install python idle and used this command:

Code: Select all

sudo apt-get install idle
When I used this command, it asked me to enter my password. I did, and then it replied:
Username is not in the sudoers list.

Could someone here help me?
Thanks in advance

User not allowed sudo access

Posted: 27 Jul 2020, 06:13
by Blaze
Hi Jovian,
open terminal and run

Code: Select all

su
toor
getpkg python3
Don't forget to activate python3 module.

User not allowed sudo access

Posted: 27 Jul 2020, 07:03
by Jovian
Hello Blaze
Thanks a lot, that worked nicely :D

User not allowed sudo access

Posted: 27 Sep 2020, 13:11
by Shadow0815
there is no pip3 :(

so i did:

Code: Select all

getpkg openssl
wget "https://bootstrap.pypa.io/get-pip.py"
python3 get-pip.py
but i don't know how to package python module stuff the right way into an xzm

User not allowed sudo access

Posted: 27 Sep 2020, 14:45
by Shadow0815
I did create an xzm package using the manual installed pip3:

Code: Select all

########  run as root
run()
{
cd /tmp
D="pip3-tmp-dirname"
mkdir $D
pip3 install --upgrade pip
pip3 install --root $D --no-deps --no-warn-script-location --ignore-installed pip

# finding out version names
pipvers=$(find $D |grep -o -m 1 'pip-.*dist-info'); pipvers=${pipvers%.dist-info}
pyvers=$(find $D | grep -o -m 1 'python.*/site-packages'); pyvers=${pyvers%/site-packages};
name="$pyvers-$pipvers"
mv $D $name
dir2xzm $name $name.xzm
}
run
########

User not allowed sudo access

Posted: 28 Sep 2020, 07:31
by ncmprhnsbl
just pointing out:
slackware do package pip:

Code: Select all

getpkg python-pip
will also do the trick..
there's also: menu/system/bundles, but that version is a little out of date..