• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 145
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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