Jump to content

How do I "publish" a C++ program on linux?

Guest

nano main.cpp && g++ main.cpp && ./a.out

 

I lets say I've just used the above command to create, compile, and run the c++ program. What would I have to do so that people could install my program through aptitude, pacman, yaourt, yum, rpm etc?

Link to comment
Share on other sites

Link to post
Share on other sites

Just put it on the internet...?

 

Maybe compile it into .DEB or .RPM?

Link to comment
Share on other sites

Link to post
Share on other sites

Just put it on the internet...?

 

Maybe compile it into .DEB or .RPM?

The second part, how would I do that?

Just g++ main.cpp -o main.deb?

 

Also where on the internet should I put it?

Link to comment
Share on other sites

Link to post
Share on other sites

You can upload it to github and if it catches the community's attention it will eventually be included in the official repositories. Or, you could make your own repository, but people would still have to specifically install that repository to use it.

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

You can upload it to github and if it catches the community's attention it will eventually be included in the official repositories. Or, you could make your own repository, but people would still have to specifically install that repository to use it.

How would I go about making my own? I doubt anything I would make would interest anyone lol

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×