Avatar of sunse
sunse
Flag for United States of America asked on

Download a package for a lower version of linux into a higer version of linux

I have to download and install OpenMs from https://pkgs.org/download/openms and I am using ubutu17.10

Can I download and install Ubuntu 17.04 (Zesty Zapus) or Ubuntu 14.04 LTS (Trusty Tahr) for Linux Ubuntu17.10?
Linux

Avatar of undefined
Last Comment
David Favor

8/22/2022 - Mon
David Favor

http://archive.ubuntu.com/ubuntu/pool/universe/o/openms/openms_2.0.0-4build3_all.deb is the download link for this package.

I just attempted installing this package + looks like there are 77 package dependencies you'd also require installing. Even if you were able to accomplish shoehorning/forcing installation of all these dependencies, likely you'd end up with a bricked machine.

If a client asked me to do this, I'd do one of two things.

1) Unless you really require Artful, don't use it. Artful changes network configuration to using netplan, which is a beast + have many minor glitches, which will take a good while to work out.

If you don't have to run Artful, run Zesty + just install your package normally.

2) If you must run Artful at machine level. First you get a Thrillseeker merit badge.

Then install LXD + run a Zesty container on your machine, so...

# At host level.
apt-get install lxd

# Setup LXD to use default ext4 backing stores, as ZFS + BTRFS will have you pulling your hair out in no time.
lxd init --auto --storage-backend dir

# Setup networking to all containers. Change eth0 to some public interface.
lxc network create lxdbr0
lxc network attach-profile lxdbr0 default eth0

# Route any packets arrive to some $container-ip
route add -host $container-ip gw $your-gateway-address

# Create a container
lxc init ubuntu:zesty/amd64 zesty-openms

# Change IP in newly created container to $container-ip
vi /var/lib/lxd/containers/zesty-openms/rootfs/etc/network/interfaces

# Change interfaces to something like this
# Loopback
auto lo
iface lo inet loopback

# DHCP container to host connector
auto eth0
iface eth0 inet dhcp

# Public IP
auto eth0:1
iface eth0:1 inet static
    netmask 255.255.255.255
    address $container-ip

# Start container + Access container
lxc start zesty-openms
lxc exec zesty-openms bash

# At this point you're inside the container + can just install the .deb package + all dependencies should also install.

Open in new window


You can duplicate this process with any number of containers.

You will require a real public IP, if you'd like this container connectable to the world.

If you're just going to access it locally, skip the network setup + just use the 10.X.X.X local address assigned via LXD.
sunse

ASKER
How do I find out whether I have to install Artfull or Zesty in Linux ubuntu17.10?
sunse

ASKER
Could you please explain what is a container and why do I need to install the containers in my machine?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
David Favor

OpenMS only provides two packages, per their site, Zesty + Trusty.

Trusty is so old, I'd personally avoid installing it anywhere, so you'll either have to install Zesty or build OpenMS from scratch/source.

You already said you're running Artful (17.10) at your machine level, so to install OpenMS via dpkg, you'll either have to reinstall your machine with Zesty (17.04) or run LXD, which allows you to install many OS levels in containers.

I run a private hosting company for high speed, high traffic WordPress sites, so many of my clients are coming off old versions of Ubuntu, like Trusty + have to incrementally upgrade packages like PHP + then fix problems.

LXD provides easily running many OSes on one machine.

You're in a similar situation, since you're already running Artful. If you don't wish to do a full reinstall, then setup a Zesty container + install your package + use your package inside this container.

And, unless you really must have Artful, I'd personally install Zesty at your machine level, as Artful makes sweeping networking changes, which have left even the most savvy Linux user scratching their heads.

Artful networking is currently a mess. Stick with machine level Zesty if possible.
sunse

ASKER
Thank so much for your comments.

      
I have some R programs (pipeline) that call Open MS and for which I am going to do a GUI using RStudio server so that we can host the pipeline in a web server to make the pipeline public. The programs were previously written in windows by I an moving everything to Linux because RStuido Server only runs on Linux. Can I still work on the GUI for the R programs using RStuido server? RStudio server only works in Linux, there is not PC version.
      
The  question that I asked my self is whether Ubuntu 17.04 uses Wayland or X.org. If Ubuntu 17.04 uses Wayland a graphical application that runs in Ubuntu 17.04 will also run in Ubuntu 17.10. Would there be a problem if Ubuntu 17.04 runs on X.org and I install an application that has been developed for Ubuntu 17.04 in Ubuntu 17.10? Does it only matter if the Ubuntu 17.04 application needs a graphic display and not if the application just runs some processes but does not require a graphical display.  I am not sure if I can install RStudio server in ubuntu17.04.  Finding that out will be the way to start.  If it does, the simple way to go about this is reinstalling using Ubuntu 17.  Thnak you very much for your help, and please advice
David Favor

Likely best to open another question about this, as you're original question was installing downlevel software, which will be very complex.

As for public pipelines using any type of heavy Windowing system like Xorg or Wayland, my guess is this approach would fail to scale.

Also, if I understand this second question, for an end user to use any type of X-like windowing system, the work they'd have to do on their client machine end to get this working, would likely require a good big of technical expertise.

If you're talking about using an X-like windowing system locally to somehow interact with your system, do yourself a favor + design a command line based control system instead. Then as required, you can connect your command line interface to any windowing system you like.

Open a second question about this topic. Explain the system you're designing. Ask for how other people might design a similar system.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
sunse

ASKER
The R program for which I am going to use RStuido server  to create the GUI calls/executes OpenMS. The only version of Linux in which I can install OpenMS is Ubuntu 17.04. I read in the download page that in order to use the Linux version of RStudio server I have to install ubuntu 12.04 (or higher).  Is Ubuntu 17.04 a higher version than Ubuntu 12.04? In other words can I install RStudio in ubuntu 17.04?

Thank you
ASKER CERTIFIED SOLUTION
David Favor

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
sunse

ASKER
I am installing Ubuntu 17.04  (Zesty Zapus) in MV workstation player 12.0.  These are all the tools I have for the moment.  Once the project is complete we will install in a Linux server.
David Favor

Be sure to check out OVH when you move to a physical machine.

Great hardware + prices.
Your help has saved me hundreds of hours of internet surfing.
fblack61
sunse

ASKER
Thanks
David Favor

You're welcome!