Issue
Could I install my program in any Linux distro with the simple command like:
Suppose my program name is manish
So
for ubuntu
`sudo apt-get install manish`
or in centos
`yum install manish`
Solution
the commands mentioned are supposed to use in case the package is in a repository. The "apt/yum install" command will not work in your case. Anyway you can create your own repository and import it in your /etc/yum.repo.d/ (centos/oraclelinux/RH...) path. The file could be:
[<repo tag (your choise)>]
name=<your repo's name>
baseurl=http://<repo's url once you have published it>
gpgkey=file:///<gpg key path (not obligatory)
gpgcheck=0 (if you have not a gpg key)
enabled=1
Once enabled you can procede with "yum update" command and verify with "yum repolist" command if the repository works.
Answered By - Francesco Renzi Answer Checked By - Robin (WPSolving Admin)