GithubHelp home page GithubHelp logo

qingxiyingyue / code-oss-aarch64 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from futurejones/code-oss-aarch64

0.0 0.0 0.0 41 KB

Visual Studio Code OSS for Ubuntu AArch64 and Others

Home Page: https://futurejones.github.io/code-oss-aarch64/

License: GNU General Public License v3.0

Shell 100.00%

code-oss-aarch64's Introduction

Visual Studio Code OSS for Ubuntu AArch64

NOTE: You can now get official VSCode downloads for arm64/armhf from Microsoft

Versions from v1.51.1 in the package repository are now the official Microsoft versions.

Package Repository for Ubuntu 16.04 / 18.04 / 20.04

https://packagecloud.io/swift-arm/vscode

Add Repository and Install

curl -s https://packagecloud.io/install/repositories/swift-arm/vscode/script.deb.sh | sudo bash
sudo apt-get install code-oss

Building Code - OSS from source.

Install Prerequisites

sudo apt-get install git python gcc g++ make libx11-dev libxkbfile-dev fakeroot rpm libsecret-1-dev

Note for Ubuntu 20.04

Python or (python2) is not included anymore in Ubuntu 20.04. The python package is no longer available. To install and use python2 as "python" you need to install "python-is-python2".

sudo apt install python-is-python2

Install Node.JS - version >= 10.15.1, < 11.0.0

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

Note for Ubuntu 20.04

The default version of nodejs on Ubuntu 20.04 is v10.19.0 so it is not necessary to add the nodesource.

sudo apt install nodejs npm

Install Yarn

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

Clone VSCode Repository and Checkout Latest Version

git clone https://github.com/Microsoft/vscode.git
cd vscode
git checkout 1.44.2

Patch product.json to add Extensions

wget https://github.com/futurejones/code-oss-aarch64/raw/master/patches/v1.44.2/add_extensions.patch
git apply add_extensions.patch

Build Code OSS

yarn && yarn run gulp vscode-linux-arm64 && yarn run gulp vscode-linux-arm64-build-deb

Installation

You will find the .deb install package in .build/linux/deb/arm64/deb/
Install using apt packet manager.

sudo apt install -y ./.build/linux/deb/arm64/deb/code-oss_*_arm64.deb

code-oss-aarch64's People

Contributors

futurejones avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.