• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 104
  • Last Modified:

How to use Python3 to apt-get install packages?

Hello all,
    I am trying to make a Python3 script to install packages using apt-get (just git for now) but can not find much information on it for some reason. Most everything I come across is for Python 2.x, should I just stick to using that instead?

Thanks
0
MostHated
Asked:
MostHated
  • 2
1 Solution
 
Duncan RoeSoftware DeveloperCommented:
I would. Python 3 just doesn't seem to have caught on yet. Odd really, because it's been around for years.
0
 
MostHatedIT ManagerAuthor Commented:
It seems like Bash itself might actually just end up being better for installing packages and what not. I guess I could use Bash to trigger python scripts if I need them for anything specific like modifying files, or what not, instead of just doing the whole thing using it.
0
 
Duncan RoeSoftware DeveloperCommented:
The author came up with the best solution
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now