Git Product home page Git Product logo

pkget's Introduction

pkget

Used for installing packages for when you dont have root when you dont have root and/or sudo it's as simple as that really

how to use

  • Step one read the script, why ? because you should never run off the internet if you cant see it (#FOSS4LIFE)
  • Step two download the script and make it executable
wget https://raw.githubusercontent.com/0x00009b/pkget/master/pget && chmod +x pget
  • Step three use the script to install packages
./pget <package_name>
#example: ./pget nmap
  • Step 4 hack the planet

Note

This tool is only for debian based systems and will only work with apt for you linux n00bs here is a list of some common debian based distos
  • Debian
  • Ubuntu
  • Parrot OS
  • Kali linux
  • Linux Lite

pkget's People

Contributors

0x00009b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pkget's Issues

bash: ./pget: Permission denied

I get the following error after using chmod +x setup.sh and running it.
Then I try ./pget and this error accures

bash: ./pget: Permission denied

it appears to want root

heres what it outputs:

**********************************
██████   ██████  ███████ ████████ 
██   ██ ██       ██         ██    
██████  ██   ███ █████      ██ 
██      ██    ██ ██         ██ 
██       ██████  ███████    ██ 
**********************************                               

starting install...
curent user is lickthecheese
#####################
----------> Updating apt caches
       Reading package lists...
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
----------> Fetching .debs for libressl
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
ls: cannot access '/tmp/ltcc/apt/cache/archives/*.deb': No such file or directory
----------> Rewrite package-config files
building logfile
system:
user:
user home:
install details saved to logfile
TIP: to see the log file type cat pget.log
 All done :-)

WSL issue in PATH env variable

Good job. I've tested this in WSL 1 and it works.

one thing to note I had to fix the PATH on WSL it was spaces.

echo export PATH=$PATH:$HOME:.apt/usr/bin:.apt/bin:.apt/sbin:.apt/usr/share:.apt/usr/lib >> $HOME/.profile #don't just be shure
echo export PATH=$PATH:$HOME:.apt/usr/bin:.apt/bin:.apt/sbin:.apt/usr/share:.apt/usr/lib >> $HOME/.bashrc #be extra shure

./pget zip

I even tried xonsh, but I cannot directly access zip or xonsh.

Installing Programs

I have a bit of an issue,
First of all do i need to have the .deb file in my home dir or can i install any package and second even if i have the package in my home dir it does lots of stuff but does not actually INSTALL the application.
any help would be great

Not Working

After using the script to install packages,it seems they did not actually install,when I try to use them,however I did not get any error messages while package was being install with ./pget

'pget' not found

chmod +x pget doesn't work. It doesn't recognize ./pget as a command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.