yuniql icon indicating copy to clipboard operation
yuniql copied to clipboard

Distribute to linux via yum install yuniql

Open rdagumampan opened this issue 4 years ago • 2 comments

Currently the only way to run yuniql for linux machines is thru Linux Docker container. While we are publishing a linux-x64 package in a zip file, it is still difficult to make this accessible for typical linux users. An idea would be to support this thru package managers such as APT, YUM and DNF.

sudo yum update -y
sudo yum install yuniql

References: https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-2004

rdagumampan avatar May 31 '20 21:05 rdagumampan

Probably it could be solved trough repo or distributed via Dockerfile when using docker. For me best way is trough repo with different binaries for desired OS. For Microsoft Platforms it also can be packed as NuGet package.

I will try to take action on this.

Ref: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-yum_repository

https://docs.microsoft.com/en-us/nuget/what-is-nuget

PS: sorry if I've misunderstood the issue :)

bogsi avatar Feb 04 '21 22:02 bogsi

@bogsi , thanks for picking up. I'm not an expert in Linux but the primary objective of this is to allow users to use their preferred package manager to install yuniql without the need to install .NET SDK or .NET Runtime. In windows, we do this via choco install yuniql. In linux, it would be good to package it as apt-get yuniql and yum install yuniql.

In windows, yuniql is already available via:

choco install yuniql
dotnet tool install -g yuniql.cli

In linux, only supported via

cd /home
sudo curl https://github.com/rdagumampan/yuniql/releases/download/v1.1.55/yuniql-cli-linux-x64-latest.tar.gz -L -o yuniql.tar.gz
sudo tar -xvzf yuniql.tar.gz -C /bin

cd /bin
sudo chmod +x yuniql

rdagumampan avatar Feb 05 '21 10:02 rdagumampan