• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 73
  • Last Modified:

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?
0
sunse
Asked:
sunse
  • 6
  • 6
1 Solution
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.
0
 
sunseAuthor Commented:
How do I find out whether I have to install Artfull or Zesty in Linux ubuntu17.10?
0
 
sunseAuthor Commented:
Could you please explain what is a container and why do I need to install the containers in my machine?
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.
0
 
sunseAuthor Commented:
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
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
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.
0
 
sunseAuthor Commented:
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
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
17.04 > 12.04 so 17.04 is higher.

As I said above least amount of work will be to run Zesty.

Either by installing it at host/machine level or LXD container.

If you take any other approach,  you'll have much work to do, just getting to a point where you can start development.
0
 
sunseAuthor Commented:
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.
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Be sure to check out OVH when you move to a physical machine.

Great hardware + prices.
0
 
sunseAuthor Commented:
Thanks
0
 
David FavorLinux/LXD/WordPress/Hosting SavantCommented:
You're welcome!
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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