I want to be able to set a custom package name when installing a package using dpkg from source. Running this command:
dpkg -i /path/to/deb/ruby-2.2.0.deb
installs the package as:
ruby-2.2.0 2.2.0
I'd like to have this install as just ruby, since the version is listed in the next column anyway. Would help out with writing some serverspec tests. I've checked the man for dpkg but don't see it as an option there. Is this possible?
ruby
versions available and that you can choose the default by using the update-alternatives system?describe package ('ruby-2.2.0') do it { should be_installed have_version('2.2.0')} end
have_version
line. Also, don't want multiple versions of ruby on our servers. I do use rbenv to manage mulitple ruby versions in development on my workstation however.