Install Swift in fedora 18 - linux

I'm trying to install Swift in fedora 18. I ran:
yum install swift
and ran successful but I have not found a way to execute any swift file.
I'll really appreciate your help if any of you knows how to install and configure Swift in fedora 18.

There are a couple Github repositories with Fedora build scripts that will help: FedoraSwift/fedora-swift and corinnekrych/swift-rpm.

The best way to execute swift binaries in not Ubuntu linux is to use docker

Related

Install 'createrepo' package opensuse SLES 15 SP4

Hi I am having difficulty installing the 'createrepo' package on opensuse SLES 15 SP4. I've ran
zypper install createrepo
But I am missing the necessary repos and cannot find the correct repos for the OS I am using. Thanks for any help!
The package is named createrepo_c and can be found in repository SLE-Module-Basesystem15-SP4-Pool. There is also python3-createrepo_c in repository SLE-Module-Desktop-Applications15-SP4-Pool.

Hugo version not updating to latest

I am trying to work with the Hugo static site generator.
Problem: Hugo is saying it is updated to the latest version but it is not.
$ hugo version
Hugo Static Site Generator v0.40.1 linux/amd64 BuildDate: 2018-04-25T17:16:11Z
But the latest version is now v0.70.0
System:
Windows Subsystem for Linux via the terminal in Visual Studio Code v1.45.0
Any help would be much appreciated thank you all.
If you're using a Debian-based system, e.g. Ubuntu, you can download the appropriate .deb from https://github.com/gohugoio/hugo/releases and install it with, for example:
sudo dpkg --install ./hugo_extended_0.70.0_Linux-64bit.deb
I wrote about this in footnote 10 in my Hugo Tutorial.
If you've installed it via the apt package manager, you might be out of luck there, because the official repositories might not be up to date with the latest version of Hugo.
To update the repositories and install the latest available version of hugo, try doing
sudo apt update
sudo apt install hugo
However, I see it's only getting version 0.6x.
If you want to use it on Windows, you could try installing it via Chocolatey or Scoop. Both seem to have version 0.70.x in their repositories, but you'd need to install them first, because they're not Windows out-of-the-box software. Not sure if and how it would work if you use it in the WSL, though.
Otherwise, there's always the good'ol download the binary and save it.
The Ubuntu package manager "apt" does not contain the latest version of Hugo right now. It needs to be updated by the repo owner or similar.
I solved my problem by following a binary install guide here

Maven latest version installation UBuntu 16 without using "wget"

Is there any way to install latest Maven specific version without using wget command in ubuntu 16.
You could try doing what my link below recommends, but add references to Bionic instead of Xenial. Then all you need to do is sudo apt install maven.
Note the current version of support Maven for Ubuntu 18.04 (Bionic) is 3.6.0-1, so if that isn't new enough for you (the latest Maven release is 3.6.2), you'll have to find another way.
https://medium.com/#george.shuklin/how-to-install-packages-from-a-newer-distribution-without-installing-unwanted-6584fa93208f
you could install sdkman on the machine 1st and then use it to install and manage various java-related tools (maven among them), but installing sdkman itself likely involves a wget

Error while installinng libimobiledevice in ubuntu 14.04

After installing libimobiledevice in ubuntu 14.04, when I run command 'ideviceinfo' it is generating error
'Could not connect to lockdownd, error "code -5"'
I have other dependencies - build-essential
libudev-dev,
libimobiledevice6,
libimobiledevice-utils,
libusb-1.0-0-dev,
libimobiledevice-dev,
libzip-dev
Correctly installed with no error.
Can I get some advices about the error ?
You didn't mention how you acquired libimobiledevice - did you install it via apt-get or did you compile it from source?
Ubuntu 14.04 ships with a very old version of libimobiledevice, and there have been changes made to libimobiledevice to provide compatibility with newer versions of iOS which are probably not in Ubuntu 14.04.
We host a PPA which provides up-to-date builds of libimobiledevice; currently only for Ubuntu 16.04 though. You can find it at https://launchpad.net/~quamotion/+archive/ubuntu/ppa/+packages .
Let me know if you need help configuring the PPA and installing the latest libimobiledevice.

I want to install Mono 5.0.0 on Debian 8

I'm quite new to Debian and now I wanted to install Mono 5.0.0 on Debian 8 in order to run some programs, which require Mono 5.0.0, but I don't have a clue how to install Mono. Currently I've got installed Mono 4.8.1, but what do I have to to, in order to update this?
Thanks for your help!
See the recent announcement here about Linux packages: http://www.mono-project.com/news/2017/04/24/mono-linux-package-repository-changes-beginning-with-5-0/

Resources